$(function () {
	$("button[data-type='export']").click(function () {
		var action = $("form.form-inline").attr("action");
		$("form.form-inline").attr("action", "student/export");
		$("form.form-inline").submit();
		$("form.form-inline").attr("action", action);
	});
	
	$("table a").on("click", function() {
		var url = $(this).attr("href");
		var title = $(this).attr("data-title");
		window.parent.tabUtil.add(url, title, true);
		return false;
	});
});